#ifndef COMMUNCATION_MENU_H
#define COMMUNCATION_MENU_H

#include <QMainWindow>
#include <global_variable.h>
#include "port_menu.h"
#include "tcp_menu.h"
#include "tcp_set.h"
class Communcation_Menu : public QMainWindow
{
    Q_OBJECT
public:
    explicit Communcation_Menu(QWidget *parent = 0);
    bool eventFilter(QObject *watched, QEvent *event);
    void ui_Init();
    void connect_Init();
    int pos=0;
    int totalBtn =8;
    QTimer  *timer;
    QPushButton *theBtn[8];
    QList <QPushButton * >btnlist_ui;
    QLabel* theLabel[3];

signals:

public slots:
};

#endif // COMMUNCATION_MENU_H
